/*
* TCSS 422, Project 2 (Scheduler Simulation)
* Team 9 Name: blueraccoon422
* Team 9 Group Members: Jacob Hall, Jacob Mertens, Diana Gorun, Alex Stringham
* File Name: CPU.h
* Date: May 22, 2013
*/

#ifndef CPU_H_
#define CPU_H_
#include "Process.h"

PCBPtr currentProcess;

typedef struct {
} CPU;

/*
 * Create the CPU with given parameters.
 *
 */

int createCPUProcessor(int the_cpu_cycles, int the_num_total_proc,
		int the_num_keybd_proc, int the_num_io_proc, int the_num_pc_proc);

int initializeCPUProcesses();				//sets up all the initial processes
int createQueues();
int createPThreads();
/*
 * The while loop that represents the program while it's running.  It will run
 * until the program counter (PC) = cycles (the number of cycles input by the user.
 */
int runCPU();

/*
 * Calls the SystemTimer which incriments the Program Counter (PC) by 1
 */
int incrementSystemPC();

#endif /* CPU_H_ */
